package com.sdy.kzyy.biz.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.kzyy.biz.dto.ManagerDTO;
import com.sdy.kzyy.biz.model.Manager;
import com.sdy.mvc.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zzq
 * @since 2020-03-25
 */
public interface ManagerMapper extends BaseMapper<Manager> {
    List<ManagerDTO> getManagerPage(@Param("phone") String phone, @Param("storeCode") String storeCode, Page<ManagerDTO> page);
    Integer getManagerPageSize(@Param("phone") String phone, @Param("storeCode") String storeCode);
}
